package org.springblade.task.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.task.base.entity.BaseUserReadingDataLog;
import org.springblade.task.base.param.BaseUserReadingDataLogParam;
import org.springblade.task.base.vo.BaseUserReadingDataLogVO;

import java.util.List;

/**
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: TODO
 * @author syncwt
 * @date ${date} ${time}
 * @version V1.0
 */
public interface IBaseUserReadingDataLogService extends IService<BaseUserReadingDataLog> {

	/**
	 * 查询用户阅读、播放时长
	 * @param param
	 * @return
	 */
	public List<BaseUserReadingDataLogVO> queryUserReadingDataCount(BaseUserReadingDataLogParam param);

	/**
	 * 查询渠道书籍阅读时长
	 */
	public List<BaseUserReadingDataLogVO> queryChannelReadBookLengthData(BaseUserReadingDataLogParam param);

	/**
	 * 查询今日读书用户数据
	 * @param param
	 * @return
	 */
	public List<BaseUserReadingDataLogVO> queryTodayReadBookList(BaseUserReadingDataLogParam param);
}
